<script type="text/javascript">
$(function() {
$("#datepicker_basic").datepicker();
$('#datepicker_basic').datepicker('option', {dateFormat: 'yy-mm-dd'});
});
</script>